package com.ruoyi.system.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 检查项目结果对象 hospital_subscribe_inspection_results
 * 
 * @author ruoyi
 * @date 2025-05-26
 */
@Data
public class HospitalSubscribeInspectionResults extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String userId;

    /** 检查项ID */
    @Excel(name = "检查项ID")
    private String itemId;

    /** 检查项名称 */
    @Excel(name = "检查项名称")
    private String itemName;

    /** 检查结果（默认无异常） */
    @Excel(name = "检查结果", readConverterExp = "默=认无异常")
    private String inspectionResult;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifiedTime;

    private String orderNo;

    private Long orderId;

    private List<HospitalSubscribeInspectionResults>hospitalSubscribeInspectionResults;

    /** 体检人姓名 */
    @Excel(name = "体检人姓名")
    private String name;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idNumber;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 出生年月 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生年月", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dateOfBirth;

    /** 0已婚 1未婚 */
    @Excel(name = "0已婚 1未婚")
    private Integer marriage;

}
